	<div class="panel panel-primary">
		<div class="panel-heading">
			<h3 class="panel-title">Grup</h3>
		</div>
		<div class="panel-body table-responsive">
		<?php

		if ($grup_array !== false)
		{
			// generate table

			$tmpl = array ( 'table_open'  => '<table border="0" cellpadding="2" cellspacing="1" class="table table-striped table-condensed">' );

			$this->table->set_template($tmpl); 

			$this->table->set_heading('#', 'Nama', 'Keterangan', 'Aksi');

			$i=1;
			foreach ($grup_array as $grup)
				$this->table->add_row($i++, $grup->get_nama(), $grup->get_keterangan(), "<a class='btn btn-warning' href='".site_url("grup/ubah/".$grup->get_id())."'>Ubah</a>&nbsp;<a class='btn btn-danger' href='".site_url("grup/hapus/".$grup->get_id())."'>Hapus</a>");

			echo $this->table->generate();

		}
		else
		{
			echo $this->lang->line('error_nggak_ketemu');
		}

		?>
		</div>
	</div>